<script language="javascript">
	function back(){
		document.location="<?php echo site_url(); ?>";
	}
</script>
<div class="form-head">Form Ubah Password</div>
<hr>
<?php
echo form_open("/UbahPassword", array("name"=>"formObat","id"=>"medic_form"));
	$pwd	= set_value("pwd");
	$pwd_new= set_value("pwd_new");
	$pwd_kon= set_value("pwd_kon");
?>
<p>
	<label>Password Lama</label>
	<input type="password" name="pwd" value="<?php echo $pwd; ?>">
	<?php echo form_error("pwd"); ?>
</p>
<p>
	<label>Password Baru</label>
	<input type="password" name="pwd_new" value="<?php echo $pwd_new; ?>">
	<?php echo form_error("pwd_new"); ?>
</p>
<p>
	<label>Konfirmasi Password Baru</label>
	<input type="password" name="pwd_kon" value="<?php echo $pwd_kon; ?>">
	<?php echo form_error("pwd_kon"); ?>
</p>
<p>
	<input type="submit" class="btn btn-success" id="submit" value="Simpan">
	<input type="reset" class="btn btn-success" id="submit" value="Reset">
</p>
<?php echo form_close(); ?>